package com.zb.designmode.bridge.readthing.stream.impl;

import com.zb.designmode.bridge.readthing.stream.AbstractStream;

import java.io.File;
import java.io.FileInputStream;

/**
 * <p>description：</p>
 * <p>copyright： copyright(C)2016-2099</p>
 * <p>Life is short,we need passion</p>
 * <p>Summary： </p>
 * <p>instructions： </p>
 * Date 3/16/21</p>
 * Author mac
 *
 * @version 1.0
 */
public class NativeStream extends AbstractStream {
    public NativeStream(String strFile) throws Exception {
        File f = new File(strFile);
        size = (int) f.length();
        in = new FileInputStream(f);
    }
}
